Replace libusb 0.1 usage with libusb 1.0 (#396)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Thu, 14 Nov 2019 17:31:36 +0000 (10:31 -0700)
committerGitHub <noreply@github.com>
Thu, 14 Nov 2019 17:31:36 +0000 (10:31 -0700)
commit8ab5555ef66528569d8f26154f830419a2fe0d29
tree43ce671c365811470c01bd5712db1a77e78836f1
parentcfe19bf8859e92cedf63da9b98c3d6f11a0f383e
Replace libusb 0.1 usage with libusb 1.0 (#396)

Replace our modified libusb 0.1.12 with libusb 1.0.22 on macos. On macos we statically link to our inclcuded libusb.
Use libusb 1.0 instead of libusb 0.1 on linux. On linux we dynamically link to a distribution provided libusb, or optionally build without libusb support.
45 files changed:
.codacy.yaml
.travis.yml
CMakeLists.txt
GPSBabel.pro
Makefile.in
config.h.in
configure
configure.ac
jeeps/garminusb.h
jeeps/gpslibusb.cc
jeeps/gpsusbcommon.cc
jeeps/gpsusbcommon.h
jeeps/gpsusbstub.cc
jeeps/gpsusbwin.cc
mac/libusb/.gitignore [new file with mode: 0644]
mac/libusb/COPYING [new file with mode: 0644]
mac/libusb/README
mac/libusb/Xcode/config.h [new file with mode: 0644]
mac/libusb/core.c [new file with mode: 0644]
mac/libusb/darwin.c [deleted file]
mac/libusb/descriptor.c [new file with mode: 0644]
mac/libusb/descriptors.c [deleted file]
mac/libusb/error.c [deleted file]
mac/libusb/error.h [deleted file]
mac/libusb/hotplug.c [new file with mode: 0644]
mac/libusb/hotplug.h [new file with mode: 0644]
mac/libusb/io.c [new file with mode: 0644]
mac/libusb/libusb.h [new file with mode: 0644]
mac/libusb/libusb.pro [new file with mode: 0644]
mac/libusb/libusbi.h [new file with mode: 0644]
mac/libusb/os/darwin_usb.c [new file with mode: 0644]
mac/libusb/os/darwin_usb.h [new file with mode: 0644]
mac/libusb/os/poll_posix.c [new file with mode: 0644]
mac/libusb/os/poll_posix.h [new file with mode: 0644]
mac/libusb/os/threads_posix.c [new file with mode: 0644]
mac/libusb/os/threads_posix.h [new file with mode: 0644]
mac/libusb/strerror.c [new file with mode: 0644]
mac/libusb/sync.c [new file with mode: 0644]
mac/libusb/usb.c [deleted file]
mac/libusb/usb.h [deleted file]
mac/libusb/usbi.h [deleted file]
mac/libusb/version.h [new file with mode: 0644]
mac/libusb/version_nano.h [new file with mode: 0644]
tools/Dockerfile
tools/Dockerfile_qtio